using Admin.Application;
// using Admin.Application.Common;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddAdminApplication(builder.Configuration);
builder.Services.AddControllers();

var app = builder.Build();

// app.UseMiddleware<RequestLoggingMiddleware>();

// app.UseMiddleware<JwtMiddleware>();

app.MapControllers();

app.Run();